.empty-state {
  min-height: 200px;
  border-radius: 8px;
  background-color: #f9fafb;
  border: 2px dashed #e5e7eb;
}

/* 确保响应式布局 */
@media (max-width: 768px) {
  .grade-table-container {
    overflow-x: auto;
  }
  
  table {
    min-width: 640px;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 4px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grade-table tr {
  animation: fadeIn 0.3s ease-in-out;
}

/* 分数等级样式增强 */
.grade-level {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* 确保表格单元格内容不会溢出 */
td, th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 高亮显示表头和操作列 */
th:last-child, td:last-child {
  position: sticky;
  right: 0;
  background-color: inherit;
  z-index: 1;
}